<?php
/**
 * Created by PhpStorm.
 * User: soulmates
 * Date: 2017/8/15
 * Time: 上午8:18
 */
namespace app\restaurantadmin\validate;

use think\Validate;

class Notoceval extends Validate
{

    protected $rule = [

        'notice' => 'require|max:500',

    ];
    protected $message = [

        'notice.require'  => '菜品类型名称不能为空！',
        'notice.max'  => '菜品类型名称不能超过500个字！',

    ];


}





?>